package com.ruoyi.contract.service;


import com.ruoyi.contract.domain.PaymentCollection;

import java.util.List;

/**
 * 回款Service接口
 *
 * @author ruoyi
 * @date 2024-06-15
 */
public interface IPaymentCollectionService
{
    /**
     * 查询回款
     *
     * @param paymentId 回款主键
     * @return 回款
     */
    public PaymentCollection selectPaymentCollectionByPaymentId(Long paymentId);

    /**
     * 查询回款列表
     *
     * @param paymentCollection 回款
     * @return 回款集合
     */
    public List<PaymentCollection> selectPaymentCollectionList(PaymentCollection paymentCollection);

    /**
     * 新增回款
     *
     * @param paymentCollection 回款
     * @return 结果
     */
    public long insertPaymentCollection(PaymentCollection paymentCollection);

    /**
     * 修改回款
     *
     * @param paymentCollection 回款
     * @return 结果
     */
    public long updatePaymentCollection(PaymentCollection paymentCollection);

    /**
     * 批量删除回款
     *
     * @param paymentIds 需要删除的回款主键集合
     * @return 结果
     */
    public int deletePaymentCollectionByPaymentIds(Long[] paymentIds);

    /**
     * 删除回款信息
     *
     * @param paymentId 回款主键
     * @return 结果
     */
    public int deletePaymentCollectionByPaymentId(Long paymentId);
}

